home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gQTVRObj
- QTVREnter(xtra("QTVRXtra"))
- set gQTVRObj to new(xtra("QTVRXtra"))
- end
-
- on stopMovie
- global gQTVRObj
- QTVRClose(gQTVRObj)
- QTVRExit(xtra("QTVRXtra"))
- end
-
- on openQTVRMovie pMovieName, pSprite
- global gQTVRObj
- QTVRClose(gQTVRObj)
- set tRect to rectToStr(the rect of sprite pSprite)
- put QTVROpen(gQTVRObj, pMovieName, tRect, "visible")
- end
-
- on rectToStr myRect
- set myString to string(myRect)
- delete char 1 to 5 of myString
- delete char the length of myString of myString
- return myString
- end
-
- on pointToStr myPoint
- set myString to string(myPoint)
- delete char 1 to 6 of myString
- delete char the length of myString of myString
- return myString
- end
-
- on CloseVR
- global gQTVRObj
- puppetSprite(18, 0)
- QTVRClose(gQTVRObj)
- set the ink of sprite 10 to 1
- updateStage()
- set the ink of sprite 10 to 0
- end
-